package org.lds.message.center.common.autoconfigure;

import org.lds.message.center.common.annotation.ExceptionInterceptorAspect;
import org.lds.message.center.common.annotation.LogAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MessageCenterCommonAutoConfiguration {
    @Bean
    public ExceptionInterceptorAspect exceptionInterceptorAspect() {
        return new ExceptionInterceptorAspect();
    }

    @Bean
    public LogAspect logAspect() {
        return new LogAspect();
    }
}
